package task3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-06-09
 * Time:15:04
 */
public class SaleManager extends Employee{
    private String salesRevenue;
    private String salesProfit;

    public SaleManager(String name, int id, String salary, String salesRevenue, String salesProfit) {
        super(name, id, salary);
        this.salesRevenue = salesRevenue;
        this.salesProfit = salesProfit;
    }

    @Override
    public void showMessage() {
        super.showMessage();
        System.out.println("拓展信息：销售收入："+this.salesRevenue+"，销售利润："+this.salesProfit);
    }
}
